// 

#include <iostream>
using namespace std;

// designer
// ------------------------------------------------------------------
// user

void foo( ) throw( int, double, const char* ) {
	// ...
	throw "Hello world";
}

void bar( ) throw( int, double, const char* ) {
	foo( );
}
int main( void ) {
	try { 
//		foo( );
		bar( );
	}
	catch( int& e ) {
		cout << "1.err information : " << e <<endl;
	}
	catch( double& e ){
		cout << "2.err information : " << e << endl;
	}

	return 0;
}

